home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d20
/
freedisk.arc
/
FREEDISK.DOC
< prev
next >
Wrap
Text File
|
1991-02-23
|
2KB
|
70 lines
Freedisk v2.0
=============
Copyright (c) 1991 by Marc Gobes
This program is public domain and may be distributed without any fee.
Functions:
----------
Freedisk is used to detect a short of diskspace before a program can
crash. It can also be used as a normal util to show the available diskspace
on any drive.
Syntax:
-------
Freedisk [ {<drive:> <minimum diskspace> <errorlevel>} ... ]
Examples on diskdrive C: with 3140 Kb diskspace available:
==========================================================
Example 1
---------
freedisk c:<return>
Drive C: 3135 Kb free
Example 2
---------
freedisk c: 2000 25<return>
Drive C: 3135 Kb free
Example 3
---------
freedisk c: 4000 25<return>
Drive C: 3133 Kb free ==> diskspace 867 Kb to low!
Exiting with errorlevel 25
Example 4
---------
freedisk c: 5000 200 d: 500 201 e: 0 0 f: 0 0 g: 0 0 h: 0 0 i: 0 0 j: 0 0<return>
Can give the following result:
Drive C: 3140 Kb free ==> diskspace 1860 Kb to low!
Drive D: 1784 Kb free
Drive E: 1489 Kb free
Drive F: 942 Kb free
Drive G: 1962 Kb free
Drive H: 5870 Kb free
Drive I: 377 Kb free
Drive J: not found!
Exiting with errorlevel 200
Note: if <minimum diskspace> is set to 0, no checking on the available amount
of diskspace will be done.
When more then one errorlevel is detected, the last errorlevel which is
detected will be returned to DOS.
Comments:
=========
Send them to : Marc Gobes
Vierlinghlaan 10
2332 CV Leiden
The Netherlands
or on Fidonet node 2:512/36: Stebis BBS
+31-71-320002
24hr/day HST/V32